package com.songcha.module_main.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.songcha.library_business.provider.IClearToMainActivityProvider
import com.songcha.library_common.util.JumpUtil
import com.songcha.library_common.util.ProcessUtil
import com.songcha.module_main.ModuleMainApplication
import com.songcha.module_main.ui.activity.main.MainActivity

@Route(path="/main/ClearToMainActivityImpl")
class ClearToMainActivityImpl:IClearToMainActivityProvider {
    override fun clearToMain(isExitApp:Boolean) {
        JumpUtil.toActivityAndClearAll(ModuleMainApplication.mContext, MainActivity::class.java,isExitApp)
    }

    override fun init(context: Context?) {

    }
}